feat: implement RobertEngineV10 fabric physics engine#116
Draft
feat: implement RobertEngineV10 fabric physics engine#116
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Agent-Logs-Url: https://github.com/Tryonme-com/tryonyou-app/sessions/f0f0a888-405d-488c-b13f-6129854d82a7 Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add pilot looks configuration for Robert Engine V10
feat: implement RobertEngineV10 fabric physics engine
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
RobertEngineV10class — the core fabric simulation engine for the TryOnYou virtual try-on experience — along with full test coverage.api/robert_engine.py__init__): five Lafayette looks (eg0–eg4), each parameterised by drape, GSM, elasticity, recovery, and friction_calculate_physics: Lafayette factor (shoulder→garment width), gravity stretch (≤15% elongation scaled by GSM), and sinusoidal elasticity breathing_get_visual_effects: dynamic silk highlight whenfriction < 0.35, 3 or 5 fold-shadows driven by drape, and a golden scan-line for0 < fit_score < 95get_accessory_render: body-anchored vs. floating-exhibition bag at fixed alpha 0.88process_frame: full pipeline returning a render buffer with patent-stamped metadata (PCT/EP2025/067317); unknownlook_idfalls back toeg0tests/test_robert_engine.py37 unittest cases across 5 test classes — physics boundary conditions (GSM clamping, breathing oscillation), visual-effect rules (fold count, highlight threshold, scan-line bounds), accessory scaling, and full-pipeline metadata assertions.